<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue生命周期钩子函数</title>
</head>
<body>
    beforeCreate
    create
    beforeMounted
    mounted
    beforeUpdate
    updated
    beforeMounted
    unMounted
    避免箭头函数定义钩子，因为箭头函数的this无法在箭头函数里获取正确的this实例


</body>
</html>